package com.jiyun.user.controller;

import com.jiyun.Result.Result;
import com.jiyun.user.service.PlusRuleService;
import com.jiyun.user.service.impl.PlusRuleServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("plusRule")
@Slf4j
public class PlusRuleController {

    @Autowired
    private PlusRuleService plusRuleService;

    @RequestMapping("findPlusRule")
    public Result findPlusRule(){
        return plusRuleService.findPlusRule();
    }

}
